let Mock =require('mockjs')

export const note = Mock.mock({
    "data|20":[{
        "moment":new Date(),
        "id|+1":1,
        "userId|+1":10,
        "message|24-96":"@cword",
        "lable|0-10":0,
        "name":"@cname",
        "like|0-120":0,
        "comment|0-120":0,
        // 背景色
        "imgurl|0-4":0,
        "revoke|0-1":0,
        "report|0-20":0,
        "type":0,
    }]
})

export const photo = Mock.mock({
    "data|19":[{
        "moment":new Date(),
        "id|+1":1,
        "userId|+1":10,
        "message|24-96":"@cword",
        "lable|0-10":0,
        "name":"@cname",
        "like|0-120":0,
        "comment|0-120":0,
        // 背景色
        "imgurl|0-9":0,
        "revoke|0-1":0,
        "report|0-20":0,
        "type":1,
    }]
})
export const comment = Mock.mock({
    "data|20":[{
        "moment":new Date(),
        "id|+1":1,
        "userId|+1":10,
        "message|24-96":"@cword",
        "name":"@cname",
        // 背景色
        "imgurl|0-13":0,
    }]
})